/*
 * Funny Language - a free style programming language.
 * Copyright (C) 2015 by fanguangping (fanguangping@163.com)
 * string.h
 */

#ifndef FUNNY_SCHEME_STRING_H
#define FUNNY_SCHEME_STRING_H

typedef char* String;

String alloc_string(int size);
String *alloc_string_array(int size);
String realloc_string(String str, int size);
String dyna_strcat(String str, String append);

String init_string();
String copy_string(String str);
int equals_string(void *a, void *b);
int hash_code_string(void *key);
String append_char(String str, char c);

#endif //FUNNY_SCHEME_STRING_H
